package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.entity.product.ProductUnit;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * title:
 * author: zgl
 * date: 2024/1/4
 * description：
 */
public interface ProductUnitService {

    PageInfo<ProductUnit> getUnitList(Integer pageNum, Integer pageSize);

    ProductUnit getUnitById(Long id);

    void deletedUnit(Long id);

    void updateUnit(ProductUnit unit);

    void saveUnit(ProductUnit unit);

    List<ProductUnit> allProductUnit();

}
